﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Remoting;
using System.Threading;
using System.Runtime.Remoting.Contexts;

namespace Class2
{
    public class Class1
    {
        public static void DisplayContextInfo()
        {
            Context ctx = Thread.CurrentContext;
            Console.WriteLine("Thuoc tinh cua context {0}", ctx.ContextID);
            foreach (IContextProperty ctxProp in ctx.ContextProperties)
            {
                Console.WriteLine("{0}", ctxProp.Name);
            }
        }
    }
}